﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E1B RID: 3611
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ReserveStaminaExchangeCsReq : IMessage<ReserveStaminaExchangeCsReq>, IMessage, IEquatable<ReserveStaminaExchangeCsReq>, IDeepCloneable<ReserveStaminaExchangeCsReq>, IBufferMessage
	{
		// Token: 0x17002DE9 RID: 11753
		// (get) Token: 0x0600A22D RID: 41517 RVA: 0x001B2060 File Offset: 0x001B0260
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ReserveStaminaExchangeCsReq> Parser
		{
			get
			{
				return ReserveStaminaExchangeCsReq._parser;
			}
		}

		// Token: 0x17002DEA RID: 11754
		// (get) Token: 0x0600A22E RID: 41518 RVA: 0x001B2067 File Offset: 0x001B0267
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ReserveStaminaExchangeCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002DEB RID: 11755
		// (get) Token: 0x0600A22F RID: 41519 RVA: 0x001B2079 File Offset: 0x001B0279
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ReserveStaminaExchangeCsReq.Descriptor;
			}
		}

		// Token: 0x0600A230 RID: 41520 RVA: 0x001B2080 File Offset: 0x001B0280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReserveStaminaExchangeCsReq()
		{
		}

		// Token: 0x0600A231 RID: 41521 RVA: 0x001B2088 File Offset: 0x001B0288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReserveStaminaExchangeCsReq(ReserveStaminaExchangeCsReq other) : this()
		{
			this.num_ = other.num_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A232 RID: 41522 RVA: 0x001B20AD File Offset: 0x001B02AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ReserveStaminaExchangeCsReq Clone()
		{
			return new ReserveStaminaExchangeCsReq(this);
		}

		// Token: 0x17002DEC RID: 11756
		// (get) Token: 0x0600A233 RID: 41523 RVA: 0x001B20B5 File Offset: 0x001B02B5
		// (set) Token: 0x0600A234 RID: 41524 RVA: 0x001B20BD File Offset: 0x001B02BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Num
		{
			get
			{
				return this.num_;
			}
			set
			{
				this.num_ = value;
			}
		}

		// Token: 0x0600A235 RID: 41525 RVA: 0x001B20C6 File Offset: 0x001B02C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ReserveStaminaExchangeCsReq);
		}

		// Token: 0x0600A236 RID: 41526 RVA: 0x001B20D4 File Offset: 0x001B02D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ReserveStaminaExchangeCsReq other)
		{
			return other != null && (other == this || (this.Num == other.Num && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A237 RID: 41527 RVA: 0x001B2104 File Offset: 0x001B0304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Num != 0U)
			{
				num ^= this.Num.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A238 RID: 41528 RVA: 0x001B2143 File Offset: 0x001B0343
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A239 RID: 41529 RVA: 0x001B214B File Offset: 0x001B034B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A23A RID: 41530 RVA: 0x001B2154 File Offset: 0x001B0354
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Num != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Num);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A23B RID: 41531 RVA: 0x001B2188 File Offset: 0x001B0388
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Num != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Num);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A23C RID: 41532 RVA: 0x001B21C6 File Offset: 0x001B03C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ReserveStaminaExchangeCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Num != 0U)
			{
				this.Num = other.Num;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A23D RID: 41533 RVA: 0x001B21F7 File Offset: 0x001B03F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A23E RID: 41534 RVA: 0x001B2200 File Offset: 0x001B0400
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Num = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04003EAB RID: 16043
		private static readonly MessageParser<ReserveStaminaExchangeCsReq> _parser = new MessageParser<ReserveStaminaExchangeCsReq>(() => new ReserveStaminaExchangeCsReq());

		// Token: 0x04003EAC RID: 16044
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003EAD RID: 16045
		public const int NumFieldNumber = 12;

		// Token: 0x04003EAE RID: 16046
		private uint num_;
	}
}
